﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="B_Customers.aspx.cs" Inherits="RGPWEB.CH.User.B_Customers" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<link href="../../inc/Style/index.css" rel="Stylesheet" type="text/css" />
<link href="../../inc/Style/contentstyle.css" rel="Stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="../../inc/script/pub.js"></script>
<script language="javascript" type="text/javascript" src="../../inc/script/My97DatePicker/WdatePicker.js"></script>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div class="title">    
            <h1 class="on"><a href="B_CustomerSList.aspx">客户列表</a></h1>
             <h1><a href="javascript:void(0)">新增客户</a></h1>
        </div>
        <div>
            <fieldset>
                <legend>客户信息</legend>
                <table style="width:100%">
                    <tr>
                        <td>类型：</td>
                        <td>
                                        <asp:RadioButtonList ID="rbl_type" runat="server" 
                                RepeatDirection="Horizontal">
                                            <asp:ListItem Value="0">个人</asp:ListItem>
                                            <asp:ListItem Value="1">企业</asp:ListItem>
                                        </asp:RadioButtonList>
                                    </td>
                        <td>所属行业：</td>
                        <td>
                                                <asp:DropDownList ID="ddl_indu" runat="server">
                                                    <asp:ListItem Value="0">请选择</asp:ListItem>
                                                    <asp:ListItem Value="1">高科技</asp:ListItem>
                                                    <asp:ListItem Value="2">工业制造及分销</asp:ListItem>
                                                    <asp:ListItem Value="3">客户服务</asp:ListItem>
                                                    <asp:ListItem Value="4">零售/消费品</asp:ListItem>
                                                    <asp:ListItem Value="5">其它行业</asp:ListItem>
                                                </asp:DropDownList>
                                        </td>
                        <td>国家或地区：</td>
                        <td>
                                        <asp:DropDownList ID="ddl_country" runat="server">
                                        </asp:DropDownList>
                                    </td>
                    </tr>
                    <tr>
                        <td>客户编码：</td>
                        <td>
                                        <asp:TextBox ID="txt_code" runat="server"></asp:TextBox>
                                                </td>
                        <td>企业名称：</td>
                        <td>
                                        <asp:TextBox ID="txt_company" runat="server"></asp:TextBox>
                                    </td>
                        <td>
                            <span style="DISPLAY: block">企业简称：</span></td>
                        <td>
                                        <asp:TextBox ID="txt_sname" runat="server"></asp:TextBox>
                                                </td>
                    </tr>
                    <tr>
                        <td><span style="DISPLAY: block">部门：</span></td>
                        <td>
                                        <asp:TextBox ID="txt_dep" runat="server"></asp:TextBox>
                                                </td>
                        <td>联系人：</td>
                        <td>
                                        <asp:TextBox ID="txt_linkmen" runat="server"></asp:TextBox>
                                                </td>
                        <td>
                            <span style="DISPLAY: block">电话：</span></td>
                        <td>
                                        <asp:TextBox ID="txt_phone" runat="server"></asp:TextBox>
                                                </td>
                    </tr>
                    <tr>
                        <td>职位：</td>
                        <td>
                                        <asp:TextBox ID="txt_postion" runat="server"></asp:TextBox>
                                                </td>
                        <td>职员人数：</td>
                        <td>
                                                <asp:DropDownList ID="ddl_staff" runat="server">
                                                    <asp:ListItem Value="0">请选择</asp:ListItem>
                                                    <asp:ListItem Value="1">1(包括你自己)</asp:ListItem>
                                                    <asp:ListItem Value="2">2-5</asp:ListItem>
                                                    <asp:ListItem Value="3">6-9</asp:ListItem>
                                                    <asp:ListItem Value="4">10-19</asp:ListItem>
                                                    <asp:ListItem Value="5">20-49</asp:ListItem>
                                                    <asp:ListItem Value="6">50-99</asp:ListItem>
                                                    <asp:ListItem Value="7">100+</asp:ListItem>
                                                </asp:DropDownList>
                                                </td>
                        <td>
                           传真：</td>
                        <td>
                                        <asp:TextBox ID="txt_fax" runat="server"></asp:TextBox>
                                                </td>
                    </tr>
                    <tr>
                        <td>邮件：</td>
                        <td>
                                        <asp:TextBox ID="txt_mail" runat="server"></asp:TextBox>
                                                </td>
                        <td>地址：</td>
                        <td>
                                        <asp:TextBox ID="txt_add" runat="server" Width="240px"></asp:TextBox>
                                                </td>
                        <td>
                            <span style="DISPLAY: block">邮编：</span></td>
                        <td>
                                        <asp:TextBox ID="txt_zip" runat="server"></asp:TextBox>
                                                </td>
                    </tr>
                    <tr>
                        <td>身份证号码：</td>
                        <td>
                                        <asp:TextBox ID="txt_nationid" runat="server"></asp:TextBox>
                                                </td>
                        <td>其它地址：</td>
                        <td>
                                        <asp:TextBox ID="txt_otheradd" runat="server" Width="240px"></asp:TextBox>
                                                </td>
                        <td>
                                        <span style="DISPLAY: block">手机：</span></td>
                        <td>
                                        <asp:TextBox ID="txt_mobile" runat="server"></asp:TextBox>
                                                </td>
                    </tr>
                    <tr>
                        <td>备注：</td>
                        <td colspan="5">
                                        <asp:TextBox ID="txt_demo" runat="server" Height="60px" TextMode="MultiLine" 
                                            Width="480px"></asp:TextBox>
                                                </td>
                    </tr>
                    </table>
            </fieldset>
            <fieldset id="account" runat="server">
                <legend>账号信息</legend>
                    <table style="width:100%">
                        <tr>
                        <td>支付类型：</td>
                        <td>
                             <asp:DropDownList ID="ddl_paytype" runat="server">
                                            <asp:ListItem Value="0">--请选择--</asp:ListItem>
                                            <asp:ListItem Value="1"> 现金</asp:ListItem>
                                            <asp:ListItem Value="2">月结</asp:ListItem>
                                            <asp:ListItem Value="3">预付款</asp:ListItem>
                                            <asp:ListItem Value="4">押金</asp:ListItem>
                                        </asp:DropDownList>
                        </td>
                        <td><span style="DISPLAY: block">信用额度：</span></td>
                        <td>
                                        <asp:TextBox ID="txt_credit" runat="server" onchange="if(/\D/.test(this.value)){alert('只能输入数字');this.value='';}"></asp:TextBox>
                                                </td>
                        <td>
                            等级：</td>
                        <td>
                             <asp:DropDownList ID="ddl_level" runat="server">
                                    <asp:ListItem Value="0">--请选择--</asp:ListItem>
                                    <asp:ListItem Value="1">普通会员</asp:ListItem>
                                    <asp:ListItem Value="2">黄金会员</asp:ListItem>
                                    <asp:ListItem Value="3">钻石会员</asp:ListItem>
                                </asp:DropDownList>
                                                </td>
                    </tr>
                        <tr>
                        <td>付款周期：</td>
                        <td>
                                        <asp:TextBox ID="txt_cycle" runat="server" onchange="if(/\D/.test(this.value)){alert('只能输入数字');this.value='';}"></asp:TextBox>
                                                </td>
                        <td>最后寄件日期：</td>
                        <td>
                                        <asp:TextBox ID="txt_lastsend" runat="server" onClick='WdatePicker()'></asp:TextBox>
                                        &nbsp;</td>
                        <td>
                            开户日期：</td>
                        <td>
                                 <asp:TextBox ID="txt_opendate" runat="server" onClick='WdatePicker()'></asp:TextBox></td>
                    </tr>
                        <tr>
                        <td>状态：</td>
                        <td>
                                        <asp:DropDownList ID="ddl_states" runat="server">
                                            <asp:ListItem Value="0">没有账号</asp:ListItem>
                                            <asp:ListItem Value="1">正常</asp:ListItem>
                                            <asp:ListItem Value="2">禁用</asp:ListItem>
                                        </asp:DropDownList>
                            </td>
                        <td><span style="DISPLAY: block">修改日期：</span></td>
                        <td>
                                      <asp:TextBox ID="txt_changedate" runat="server" onClick='WdatePicker()'></asp:TextBox></td>
                        <td>
                            密码：</td>
                        <td>
                                        <asp:TextBox ID="txt_pass" runat="server"></asp:TextBox>
                                                </td>
                    </tr>
                        <tr>
                        <td><span style="DISPLAY: block">修改原因：</span></td>
                        <td colspan="3">
                                        <asp:TextBox ID="txt_reason" runat="server" Height="60px" TextMode="MultiLine" 
                                            Width="480px"></asp:TextBox>
                                                </td>
                        <td colspan="2">
                            <asp:Button ID="btn_ok" runat="server" onclick="btn_ok_Click" Text="保存" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Button ID="btn_cancel" runat="server" onclick="btn_cancel_Click" 
                                Text="取消" />
                            <asp:HiddenField ID="hif_id" runat="server" />
                            </td>
                    </tr>
                    </table>
            </fieldset>
        </div>
    </form>
</body>
</html>
